/*************************************************
* Title：凉山艾滋病-飞屏互动
* Author：Opportunity 
* Describe：实现默认行为的UI窗体基类
* CreateTime：2020-09-17 14:41:08
* Version：1.0
* Modify Recorder：
*************************************************/

namespace TinyToolKit.UI
{
    public class DefaultUIFormBase : UIFormBase
    {
        protected internal override void OnEnter()
        {
            base.OnEnter();
            gameObject.SetActive(true);
        }
        
        protected internal override void OnPause()
        {
            base.OnPause();
            gameObject.SetActive(false);
        }

        protected internal override void OnResume()
        {
            base.OnResume();
            gameObject.SetActive(true);
        }

        protected internal override void OnExit()
        {
            base.OnExit();
            gameObject.SetActive(false);
        }
    }
}
